-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sim Alive Robots Publish #2215
Sim Alive Robots Publish #2215
Conversation
…ategy/alive_robots) for consistency
@@ -39,7 +39,7 @@ Radio::Radio() | |||
} | |||
|
|||
alive_robots_pub_ = | |||
create_publisher<rj_msgs::msg::AliveRobots>("/alive_robots", rclcpp::QoS(1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason base Radio class (used by network_radio) and sim_radio used different topic names for alive robots. I went with the one used by sim.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we actually use the other "/alive_robots"
topic? Can you also update agent_action_client
to subscribe to the other one? We want everything to be the same. No need for the "strategy/"
one. Thank you!
Co-authored-by: Sid Parikh <[email protected]>
Code was merged into #2212. @oddlyspookycherry , feel free to leave a review there to ensure your changes were transferred the way you expect. |
Description
Publish robots 0-6 as alive in
sim_radio
.Declare
strategy/alive_robots
as a global topic name for alive robots and make all radios use it.Steps to Test
ros2 topic echo strategy/alive_robots